package com.dingding.dao.usermangerdao;

import java.util.List;

import com.dingding.bean.databean.request.ReqAddUserRoute;
import com.dingding.bean.databean.request.ReqUpdateUserRoute;
import com.dingding.bean.entity.Userroute;
import com.dingding.dao.basedao.IBaseDao;

public interface IUserRouteDao extends IBaseDao<Userroute>{
	
	/**
	 * @Title: addUserRoute
	 * @Description: 添加用户路线
	 * @param reqAddUserRoute 客户端请求添加路线bean
	 * @param dataResponse 响应数据
	 * @author Li Yi
	 * @return
	 * @throws
	 */
	public void addUserRoute(ReqAddUserRoute reqAddUserRoute);
	
	/**
	 * @Title: updateUserRoute
	 * @Description: 修改用户路线
	 * @param reqUpdateUserRoute 客户端请求修改路线bean
	 * @param dataResponse 响应数据
	 * @author Li Yi
	 * @return
	 * @throws
	 */
	public void updateUserRoute(ReqUpdateUserRoute reqUpdateUserRoute,Userroute userRoute);
	
	/**
	 * @Title: deleteUserRoute
	 * @Description: 删除用户路线
	 * @param reqDeleteUserRoute 客户端请求删除路线bean
	 * @param dataResponse 响应数据
	 * @author Li Yi
	 * @return
	 * @throws
	 */
	public void deleteUserRoute(Userroute userRoute);
	
	/**
	 * @return 
	 * @Title: getUserRouteList
	 * @Description: 获取路线接口
	 * @param userId 用户Id
	 * @author Li Yi
	 * @return
	 * @throws
	 */
	public List<Userroute> getUserRouteList(String userId);

	/**
	 * @Title: getUserRouteList
	 * @Description: 获取用户路线表中的全部用户Id
	 * @author yuHaiQing
	 * @return List<Object[]>    返回类型
	 * @throws
	 */
	public List<Object[]> getUserRouteList();
	
}
